import sys
from server_router import *
from server_client import *
from configuration import *
from help import *

class server():
    def __init__(self):
        self.format_server = "server_router"
        comando = sys.argv[1:]
        for x in comando:
            if x == "-server_router":
                server_router()
            elif x == "-server_client":
                server_client()
            elif x == "-configuration":
                configuration()
            else:
                help()
                
        if (len(comando)) == 0:
            help()
        else:
            print "Gracias por utilizar los servicios de Assef/Canvee"
